$OpenBSD: patch-Makefile,v 1.3 2013/03/26 09:07:28 ajacoutot Exp $
--- Makefile.orig	Mon Sep 17 19:36:17 2007
+++ Makefile	Tue Mar 26 09:51:17 2013
@@ -1,10 +1,10 @@
 # $Id: patch-Makefile,v 1.3 2013/03/26 09:07:28 ajacoutot Exp $
 NAME=podbrowser
-PREFIX=/usr/local
+PREFIX?=/usr/local
 BINDIR=$(PREFIX)/bin
 DATADIR=$(PREFIX)/share
 ICONDIR=$(DATADIR)/icons/hicolor/48x48/apps
-MANDIR=$(DATADIR)/man/man1
+MANDIR=$(PREFIX)/man/man1
 
 all: podbrowser
 
@@ -12,7 +12,7 @@ podbrowser:
 	@mkdir -p build
 
 	perl -ne 's!\@PREFIX\@!$(PREFIX)!g ; s!\@LIBDIR\@!$(LIBDIR)!g ; print' < $(NAME).pl > build/$(NAME)
-	pod2man $(NAME).pl | gzip -c > build/$(NAME).1.gz
+	pod2man $(NAME).pl > build/$(NAME).1
 
 install:
 	mkdir -p	$(BINDIR) \
@@ -23,7 +23,7 @@ install:
 	install -m 0644 $(NAME).glade		$(DATADIR)/$(NAME)/
 	install -m 0644 $(NAME).png		$(ICONDIR)/
 	install -m 0644 $(NAME).desktop		$(DATADIR)/applications/
-	install -m 0644 build/$(NAME).1.gz	$(MANDIR)/
+	install -m 0644 build/$(NAME).1		$(MANDIR)/
 	install -m 0755 build/$(NAME)		$(BINDIR)/$(NAME)
 	install -m 0755 html2ps-$(NAME)		$(BINDIR)/html2ps-$(NAME)
 
